#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	
	/* TODO: Add more members if necessary */
	 int val;//算数表达式的结果
    char args[32];//存储算数表达式的内容


} WP;

WP* new_wp();

void free_wp(WP* wp);

void delete_wp(int);

void info_wp();

bool check_wp();
#endif
